package demo.util_ui.client.ui;

public class SimpleErrorHandler implements IErrorHandler {

	/**
	 * Notify connection error. 
	 */
	final SimpleDialog errorDialog = new SimpleDialog();

	@Override
	public void handleError(final Throwable exception) {
		this.errorDialog.showError("Sorry, we have got an error!", exception
				.toString());
	}

}
